<?php
	global $_W;
	if($_W['role']){	
		$mcard =  pdo_get('mii_ang_mcard_info',array('uniacid'=>$_W['uniacid']));
		if($mcard['recharge_discount_info']){
			$discount_info = unserialize($mcard['recharge_discount_info']);
		}else{
			$discount_info = '';
		}
		if($mcard['member_level_info']){
			$level_info = unserialize($mcard['member_level_info']);
		}else{
			$level_info = '';
		}
		$o = $mcard;
		include $this->template('web/card/setmembercard');
	}else{
		message('没有操作权限');
	}

	function levelNumber(){
		$n = array();
		for ($i=1; $i < 10; $i++) { 
			$n[] = $i;
		}
		return $n;
	}
?>